Skip to content

Conversation

@craddm
Copy link
Contributor

@craddm craddm commented May 6, 2025

Closes #35

@JimMadge JimMadge added this to fridge May 12, 2025
@github-project-automation github-project-automation bot moved this to To Be Refined in fridge May 12, 2025
@JimMadge JimMadge moved this from To Be Refined to In progress in fridge May 12, 2025
@JimMadge
Copy link
Member

@LakshithadeSilva @awalford16 does your work supersede this?

@LakshithadeSilva
Copy link
Collaborator

Possibly. My work is mostly based on this, with some additional tweaks for setting anonymous access on the MinIO buckets. Once the STS approach is finalised, we can do the final work either on this PR or my branch.

@craddm craddm marked this pull request as ready for review October 21, 2025 14:24
@craddm
Copy link
Contributor Author

craddm commented Oct 21, 2025

Can't review it as this is originally my PR, but LGTM @JimMadge

@craddm craddm requested a review from JimMadge October 21, 2025 14:25
@JimMadge
Copy link
Member

@LakshithadeSilva is this ready to merge?

@LakshithadeSilva
Copy link
Collaborator

@JimMadge Yes :)

Copy link
Member

@JimMadge JimMadge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I like the model of running a job to configure MinIO using it's own CLI.

We might do similar things for cilium/longhorn.

@craddm can you also take a look at this. I think there may be some stuff leftover from experimenting, and the stack config might be overwriting changes on main.

Comment on lines 91 to 94
args=[
"mc --insecure alias set argoartifacts http://minio.argo-artifacts.svc.cluster.local:80 $(MINIO_ROOT_USER) $(MINIO_ROOT_PASSWORD) &&"
"/tmp/scripts/setup.sh argoartifacts;",
],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to pass some commands as an argument here and others in a script?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@craddm possibly explain better, but 'mc' expects the alias to set first so the subsequent commands can refer to that alias. The script includes a bunch of mc commands, but alternatively we can have those here as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, does it not work if the mc alias set command is in the script?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified this so all the commands are in the script, and the script now gets everything from the environment variables instead

@craddm craddm requested a review from JimMadge October 23, 2025 11:12
Copy link
Member

@JimMadge JimMadge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question about whether we can simplify the mc commands.

@craddm craddm requested a review from JimMadge October 28, 2025 15:09
Copy link
Member

@JimMadge JimMadge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any other comments @craddm

@craddm
Copy link
Contributor Author

craddm commented Oct 31, 2025

Any other comments @craddm

No, I think @LakshithadeSilva's removed the remaining vestigial code

@craddm craddm merged commit eab51c9 into alan-turing-institute:main Oct 31, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minio buckets and account structure

3 participants